<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<script type="text/javascript" src="../../js/common/common.js"></script>
<link rel="stylesheet" href="../../css/global/mui.css">
<link rel="stylesheet" type="text/css" href="../../css/global/public.css"/>
<link rel="stylesheet" href="../../css/patient-evaluation.css" />
<title>患者评价</title>
</head>
<body>
	<div class="doctor-homeComment">
		<div class="title current">
			患者评价
		</div>
		<ul class="patient-commentlist current">
			
		</ul>
		
	</div>
</html>
<script type="text/javascript" src="../../js/lib/mui.min.js" ></script>
<script type="text/javascript" src="../../js/module/utilModule.js" ></script> 
<script type="text/javascript" src="../../js/common/config.js"></script>
<script type="text/javascript" src="../../js/lib/zepto.min.js" ></script>
<script type="text/javascript" src="../../js/lib/template.js" ></script>
<script type="text/javascript" src="../../js/module/userCenterModule.js" ></script>
<script type="text/javascript" src="../../js/module/orderPayModule.js" ></script>
<script>
	var doctorId = utilModule.getQueryString("doctorid");
   	var params = {
		"doctorId": doctorId
	};
   	orderPayModule.patientReview(params,function(callBack) {
   		console.log(callBack);
		if(callBack != null) {
			var $hzHtml="";
			var length = callBack.length;
			for(var i=0;i<length;i++){
				$hzHtml+='<li class="patient-comment">'+
					'<a href="###">'+
						'<span class="patient-name font2">'+decodeURI(callBack[i].nickname)+'</span><span class="evaluation-createtime font2">'+callBack[i].createtime+'</span><span class="comment-xingxing comment-image'+callBack[i].score+'"></span>'+
						'<p class="font3">'+callBack[i].content+'</p>'+
					'</a></li>';
			}
			$(".patient-commentlist").append($hzHtml);
		}
	})
</script>